package com.easy.service;

import com.easy.bean.UserBean;
import com.easy.util.Page;
import com.easy.util.Result;

import java.util.List;

public interface UserBeanService {

    UserBean add(UserBean userBean);

    int del(Integer id);

    UserBean edit(UserBean userBean);

    UserBean one(Integer id);

    List<UserBean> all(UserBean userBean);

    void page(Page page, UserBean userBean);

    Result changePassword(String user_code, String newPassword, String confirmPassword,String token);


}
